import request from '@/utils/request'
// 请求分类列表
export const getHomeCategory = () => {
  return request('/home/category/head', 'get')
}
// 请求banner图片
export const getHomeBanner = () => {
  return request('/home/banner', 'get')
}
// 首页-新鲜好物 reqFindNew
export const reqFindNew = (limit = 4) => {
  return request('/home/new', 'get', { limit: limit })
}
// 首页-人气推荐
export const reqFindHot = () => {
  return request('/home/hot', 'get')
}
